{% include 'header.html' %}
<title>
Group List
</title>
<body class="defect-opensolaris-org-bz">
{% include 'topnav.html' %}

<div>
  <table id="tabtitles" border="0" cellpadding="0" cellspacing="0">
  <tbody><tr>
    <td id="title">
    <p><a href="{%url machine_list%}" style="color:#FFFFFF">&nbsp;Admin</a> &raquo; <a href="{%url group_list%}" style="color:#FFFFFF">Machine Group</a> </p>
    </td></tr>
  </tbody></table>
</div>

<div id="bugzilla-body" style="overflow: hidden;">
 
 
 <div>
  
 <table width="77%" border="0" align="left">
  
  <tr>
    <td><input name="submit2" type="button" onClick="location.href='{% url group_add %}'" value="Add New Group" >	</td>
    </tr>
</table>
</div>

<br>



<table class="bz_buglist" cellpadding="4" cellspacing="0" width="100%">
  <tbody>
  </tbody></table>

<div><br></div>
<div><b>Machine Group List:</b><br></div>
<hr>
{%if results%}
<form name="fom" id="fom" method="post" action="">
<table class="bz_buglist" cellpadding="4" cellspacing="0" width="100%" align="center">
  <tbody>
<tr class="bz_buglist_header" align="left">
<th class="first-child">Group Name </th>
<th>Machine Type</th>
<th>OS Release</th>
<th>Integration Type</th>
<th>Build Branch</th>
<th>Actions</th>
<th></th>
</tr>

{%for group in results%}
 {% if forloop.counter|divisibleby:2 %}
<tr class="bz_bugitem bz_row_odd">
 {%else%}
<tr class="bz_bugitem bz_row_even">
 {%endif%}

  <td class="first-child">{{group.name}}</td>
  <td>{{group.machine_type}}</td>
  <td>{{group.os_release}}</td>
  <td>{{group.intg_type}}</td>
  <td>{{group.dtbld_type}}</td>
  <td>
    <a href="{%url group_update group.id%}">Update</a> | 
    <a href="{%url group_delete group.id%}" onClick="return confirm('Do you want to delete it?')">Delete</a></td>
  <td>&nbsp;</td>
</tr>
{%endfor%}
  </tbody></table>
</form>
<hr>
{%else%}
    <p>No group found.</p>
{% endif %}


 

<br>
<br>

</div>
{% include 'footer.html'%}

